Glasgow | Jan-26 | Elisabeth Matulian | Sprint 2 |Book library debugging#393
Glasgow | Jan-26 | Elisabeth Matulian | Sprint 2 |Book library debugging#393Elisabeth-Matulian wants to merge 9 commits into
Conversation
cjyuan
left a comment
There was a problem hiding this comment.
Can you check if any of this general feedback can help you further improve your code?
https://github.com/cjyuan/Module-Data-Flows/blob/book-library-feedback/debugging/book-library/feedback.md
Doing so can help me speed up the review process. Thanks.
| inputPages.value.trim() == "" || | ||
| Number(inputPages.value) <= 0 || | ||
| Number(inputPages.value) > 5000 |
There was a problem hiding this comment.
-
Why not save the convert page count in a variable first?
-
Besides number range, have you also considered the number type for page count?
There was a problem hiding this comment.
Updated. I actually thought about storing the value in a variable, but I wasn’t sure because the piece of code didn’t seem to be used that much :)
|
Changes are good. Well done. |
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |
Learners, PR Template
Self checklist
Changelist
fix:
-add missing bracket in for-loop
-correct variable names
-author field
-event typo
-read status value
-add page title to HTML head
Questions
N/Q